package generation.scale;

import util.Utils;

public class Scale {

	private String name;
	private String[] tunes;
	private String[] chords;
	
	public Scale(String name, String[] tunes, String[] chords) {
		this.name = name;
		this.tunes = tunes;
		this.chords = chords;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String[] getTunes() {
		return tunes;
	}
	
	public void setTunes(String[] tunes) {
		this.tunes = tunes;
	}
	
	public String[] getChords() {
		return chords;
	}
	
	public void setChords(String[] chords) {
		this.chords = chords;
	}

	@Override
	public String toString() {
		String tunesArray = Utils.getStringFromArray(this.tunes, " ");
		String chordsArray = Utils.getStringFromArray(this.chords, " ");
		return this.name + " - " + tunesArray + "\n" + chordsArray;
	}

	public String getInitialTune() {
		return tunes[0];
	}
	
	
	
	
}
